package org.mte.swift.builder.file;

import java.io.File;

import org.mte.sakn.file.FileSystemImpl;

public class SwiftFileSystem extends FileSystemImpl {

	//private static final String RELATIVE_SKELETON_PATH = "/skeleton";
	
//	/**
//	 * relative path to classpath
//	 */
//	private String relativePath = "/";
	
	
	public SwiftFileSystem(String relativePath) {
		String path = getClass().getProtectionDomain().getCodeSource().getLocation().getPath() + relativePath;
		root = new File(path);
        try {
        	build();
        } catch (Exception e) {
        	e.printStackTrace();
        }
	}


/*	public String getRelativePath() {
		return relativePath;
	}


	public void setRelativePath(String relativePath) {
		this.relativePath = relativePath;
	}*/

	
//	private String retrieveSkeletonPath() {
//		String path = getClass().getProtectionDomain().getCodeSource().getLocation().getPath();
//		Package pckg = getClass().getPackage();
//		path += pckg.getName().replace('.', '/') + RELATIVE_SKELETON_PATH;
//		return path;
//	}


}
